<script type="text/javascript">
$(function(){
	$.post("inventorymanagement/getUserAndBanch",function(json){
		var activeUser = json.activeUser;
		var userNo=activeUser.userNo;
		var branchNo=activeUser.branchNo;
		$("input[name='empNoByDishDeficientOutbound']").val(userNo);
		$("input[name='branchNoByDishDeficientOutbound']").val(branchNo);	
	})
	
	/* $("select[name='cardCodeByReturnCardByEmp']").change(function(){
		
		console.log("===>"+$("select[name='cardCodeByReturnCardByEmp']").val());
	}); */
})
</script>
<form method="post" action="inventoryMagOfDishDeficient/toSaveDishDeficientOutboundRecords" class="pageForm required-validate" onsubmit="return validateCallback(this,printViewPageAjaxDone);" >	
	 <div class="searchBar">
	 <table class="searchContent">	
			<tr>
				<td><label>网点编号:</label></td>
				<td><input id="branchNoByDishDeficientOutbound" name="branchNoByDishDeficientOutbound" size="20" value="" readonly="readonly"></td>
			</tr>
			<tr>
				<td><label>员工编号:</label></td>
				<td><input id="empNoByDishDeficientOutbound" name="empNoByDishDeficientOutbound" size="20" value="" readonly="readonly"></td>		
			</tr>
			<tr>
				<td><label>备注:</label></td>
				<td style="text-align:left;">
					<select id="storageModeByDishDeficientOutbound" name="storageModeByDishDeficientOutbound" >
						<option value="14" selected>盘亏出库</option>
					</select>
				</td>		
			</tr>
		</table>
	</div>
	 <div class="pageContent" >
	 	<div class="panelBar">
		<ul class="toolBar">
			<li><a id="addTask" class="add" onclick="return addCardInfo(this);" param="DeficientOutbound"><span>新增</span></a></li>
			<li><a class="delete" onclick="return deleteItem(this);" param="DeficientOutbound"><span>删除</span></a></li>
			<!-- <li><a class="edit"  onclick="return updateBusiParam();"><span>修改</span></a></li> -->
		</ul>
	</div>
	<!-- <input name="Busiparatasked" type="checkbox" style="display:none" value="xxxxxxxxxxx" checked> -->
		<div id="tableInfoByDeficientOutbound">
		<table class="table" width="800" layoutH="298">
			<thead>
				<tr>
					<th width="2%" align="center"><input type="checkbox" name="distribute" group="empReceivedInfoChecked" class="checkboxCtrl"></th>
					<th width="2%" >序号</th>
					<th width="8%" >卡产品</th>
					<th width="8%" >卡类型</th>
					<th width="12%" >卡号</th>
					<th width="5%" >分类</th>
				</tr>
			</thead>
			<tbody id="tdInfoByDeficientOutbound">
				
			</tbody>
		</table>
</div>
		<div class="formBar">
			<ul> 
				<li>
					<div class="buttonActive" ><div class="buttonContent" >
					<button type="submit" onclick="return editCheckBox(this);" class="valid" param="DeficientOutbound">提交</button></div></div>
				</li>
				<li>
					<div class="buttonActive" ><div class="buttonContent" >
					<button class="close" >关闭</button></div></div>
				</li>
			</ul>
		</div> 
	
</div>
	</form>